


<div class="block2">
<font class="signup">

Your Profile<br><br>
<?php
$member = new member;
$memberAccount = $member->displayAccount($_SESSION['username']);

//unset($_GET['uploadpic']);
    


echo "Profile Picture:</br>";
if(!isset($_GET['uploadpic'])){
echo '<a href="index.php?uploadpic=1"><img src="profilepic/1.jpg" width="80px"></a><br/>';
}else{
echo '<form action="include/uploadprofilepic.php" method="POST" enctype="multipart/form-data">File: <br/><input type="file" name="image" size="5"><br/><input type="submit" value="Upload"></form>';
}

echo "</br>Name: ".$memberAccount[1]." ".$memberAccount[2];

?>

</font>

</div>